package com.zqx.visitor.abstractvisitor;

import com.zqx.visitor.concreteelement.FulltimeEmployee;
import com.zqx.visitor.concreteelement.ParttimeEmployee;

/**
 * description: 抽象访问者类
 * @author zqx
 * @date 2018/09/04
 */
public abstract class Department {

    //声明一组重载的访问方法，用于访问不同类型的具体元素
    public abstract void visit(FulltimeEmployee employee);
    public abstract void visit(ParttimeEmployee employee);

}
